package request

type SendSms struct {
	Tel         string `form:"tel" binding:"required"`
	SendSmsCode string `form:"sendSmsCode" binding:"required"`
}
type Login struct {
	Tel         string `form:"tel" binding:"required"`
	SendSmsCode string `form:"sendSmsCode" binding:"required"`
}
type SyncGoods struct {
}
type Search struct {
	Keyword string `form:"keyword" binding:"required"`
}
type ListGood struct {
	Page int64 `form:"page" binding:"required"`
	Size int64 `form:"size" binding:"required"`
}
type AddGood struct {
	GoodsTitle  string  `form:"goodsTitle" binding:"required"`
	GoodsDesc   string  `form:"goodsDesc" binding:"required"`
	GoodsCover  string  `form:"goodsCover" binding:"required"`
	GoodsPrice  float64 `form:"goodsPrice" binding:"required"`
	GoodsStock  int64   `form:"goodsStock" binding:"required"`
	CheckStatus int64   `form:"checkStatus" binding:"required"`
	Status      int64   `form:"status" binding:"required"`
}
type Register struct {
	Username string `form:"username" binding:"required"`
	Password string `form:"password" binding:"required"`
}
